package com.hcandtx.Bms.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hcandtx.Bms.bean.User;

public interface UserMapper {
   User findById(int id); 
   User login(@Param("loginName")String loginName,@Param("loginPswd")String loginPswd);

	int register(User user);
	List<User> findAll();
	int deleteUser(int id);
	int updateUser(User UserUpdateList);
	List<User> search(@Param("userName")String search);
}
